package com.topgay.dao;

import java.sql.SQLException;

import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.topgay.domain.Member;

@Repository
public class MemberDAOImple implements MemberDAO{

	@Autowired
	private SqlSessionTemplate session;
	
	@Override
	public Member selectMemberById(String id) throws SQLException {
		return session.selectOne("member.selectMemberById", id);
	}

	
	
}
